import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import { createRouter, createWebHistory } from 'vue-router'
import 'amfe-flexible'
import './style.css'
import App from './App.vue'
let app = createApp(App);
let routes = [
  { path: '/', component: () => import('./views/main.vue') }
]
const router = createRouter({
  history: createWebHistory(),
  routes
})
app.use(createPinia);
app.use(ElementPlus);
app.use(router)
app.mount('#app');